package com.sheng.center.service;

import java.util.List;

import com.sheng.center.dao.RepairDao;
import com.sheng.center.entity.Repair;

public class RepairServiceImpl implements RepairService {

	private RepairDao repairDao;

	@Override
	public void add(Repair repair) {
		repairDao.add(repair);
	}

	@Override
	public void edit(Repair repair) {
		repairDao.edit(repair);

	}
	
		

	@Override
	public void delete(Repair repair) {
		repairDao.delete(repair);

	}

	@Override
	public List<Repair> findAllList(Repair repair) {
		return repairDao.findAllList(repair);
	}

	@Override
	public Repair findById(Repair repair) {
		return repairDao.findById(repair);
	}

	public RepairDao getRepairDao() {
		return repairDao;
	}

	public void setRepairDao(RepairDao repairDao) {
		this.repairDao = repairDao;
	}

}
